﻿using System;
using System.Net;
using System.Collections.ObjectModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;

namespace InsuranceAdjuster
{
    public static class LinqEntensionMethods
    {
        public static ObservableCollection<TSource> ToObservableCollection<TSource>(this IEnumerable<TSource> source)
        {
            var Output = new ObservableCollection<TSource>();
            foreach (var Item in source)
                Output.Add(Item);
            return Output;
        }
    }
}
